import request,{mockRequest} from '@/utils/request';


export async function queryNotices(params) {
  return request('/msg/notice/page',{
      params:params
  });
}

export async function setNoticeReaded(id) {
  return request(`/msg/notice/${id}/isRead`,{
    method:"POST"
  });
}

export async function mockNotices() {
    return mockRequest('/api/notices');
}


